package com.ymatou.im.api.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

/**
 * 发送消息接口Call FreeMaker Template自动生成代码
 */
public class SendMessageCall extends YmatouBaseCall {
	private static String opurl = "api/Message/sendMessage";

	public SendMessageCall() {
		super(EnvSetup.getSystemUrl("api_im"), opurl, "POST", "JSON");
	}

	@Override
	public void addDefHeader() {
		client.addHeader("Accept", "text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}

	public Object getJsonValue(String string) {
		// TODO Auto-generated method stub
		return null;
	}
}